﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Tebbee.Business.Server
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IUtilities" in both code and config file together.
    [ServiceContract]
    public interface IUtilities
    {
        [OperationContract]
        bool WriteFile(string saveString, string path);
        [OperationContract]
        String ReadFile(string path);
        [OperationContract]
        void SendMail(string to, string content, string subject);
        [OperationContract]
        void ResizeImg(System.Drawing.Image Original, Int32 newWidth, Int32 newHeight, String pathToSave);
    }
}
